import React, { Component } from 'react'
import Step from 'components/step'
import SelectFiles from './selectFiles'
import SelectMembers from './selectMembers'
import Confirm from './confirm'

const options = [
  {
    icon: 'folder',
    title: '文件',
    description: '选择需要审核的文件',
    isOK: true,
    ui: SelectFiles,
  },
  {
    icon: 'user',
    title: '人员',
    description: '选择完成审核任务的人员',
    isOK: false,
    ui: SelectMembers,
  },
  {
    icon: 'setting',
    title: '确认',
    description: '请确认设置知否正确',
    isOK: true,
    ui: Confirm,
    center: true,
  },
]

export default class NewLabelTask extends Component {
  render() {
    return <Step options={options} title="创建审核任务" />
  }
}
